// @ts-ignore
/* eslint-disable */
import { OpenApi as request } from "@/utils/request";

/** 用户列表 GET /platform/mall/user */
export async function listPage10(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.listPage10Params,
  options?: { [key: string]: any }
) {
  return request<API.BaseResponsePageRespPlatformMallUserVo>(
    `/barter-user/platform/mall/user`,
    {
      method: "GET",
      params: {
        ...params,
      },
      ...(options || {}),
    }
  );
}

/** 用户详情 GET /platform/mall/user/detail/${param0} */
export async function detail13(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.detail13Params,
  options?: { [key: string]: any }
) {
  const { id: param0, ...queryParams } = params;
  return request<API.BaseResponsePlatformMallUserVo>(
    `/barter-user/platform/mall/user/detail/${param0}`,
    {
      method: "GET",
      params: { ...queryParams },
      ...(options || {}),
    }
  );
}
